package com.tedu.studentmanagement.mapper;

import com.tedu.studentmanagement.pojo.dto.StudentRegDTO;
import com.tedu.studentmanagement.pojo.entity.Student;
import com.tedu.studentmanagement.pojo.vo.StudentVO;
import org.apache.ibatis.annotations.Param;

public interface StudentMapper {
    int insertStudent(Student student);
    StudentVO selectStudentById(String id);
    StudentVO selectStudentByIdAndPassword(@Param("id") String id,@Param("password") String password);
    int delectStudentById(String id);
    int updateStudentById(StudentRegDTO studentRegDTO);
}
